package com.wind.view;

import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;

public class FixPointerIndexOutViewPager extends ViewPager {


    public FixPointerIndexOutViewPager(Context context) {
        super(context);
    }

    public FixPointerIndexOutViewPager(Context context, AttributeSet attrs) {
        super(context, attrs);
    }


    @Override
    public boolean onInterceptTouchEvent(MotionEvent ev) {
        try {
            return super.onInterceptTouchEvent(ev);
        }catch (Exception e){
            e.printStackTrace();
        }
        return true;
    }
}
